package com.uy.cuantoconocesdeuruguay.dialogs;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.view.View;

import com.uy.cuantoconocesdeuruguay.R;

public class FromUserNotificationDialogUtils {
	private Activity activity;	
	public FromUserNotificationDialogUtils(Activity activity) {
		this.activity = activity;
	}

	public void createPopup(){
		View view = activity.getLayoutInflater().inflate(R.layout.facebook_session_missing, null);		
		AlertDialog.Builder builder = new AlertDialog.Builder(activity);
	    builder.setView(view);
	    builder.setCancelable(true);
	    Dialog challengeFinishedPopup = builder.create();
		challengeFinishedPopup.show();	
	}
}
